ObservableValidationBase class¶
Defined in
Namespace: ReactiveUI.Validation.Components
Assembly: ReactiveUI.Validation.dll
Full name: ReactiveUI.Validation.Components.ObservableValidationBase<T1, T2>
Modifiers: public abstract
Summary¶
Inherited documentation
These docs were inherited from IDisposable.
A validation component that is based on an IObservable.
Applies to
net10.0, net10.0-tvos26.0, net10.0-maccatalyst26.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net10.0-macos26.0, net10.0-windows10.0.19041, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-windows10.0.19041, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-ios17.5, net8.0-tvos17.2, net8.0-windows10.0.19041, net8.0-macos14.5, netstandard2.1, net481, net462, net471
Class hierarchy
classDiagram
class ObservableValidationBase~T1,T2~
class ReactiveObject
ReactiveObject <|-- ObservableValidationBase~T1,T2~
class IDisposable {
<>
}
IDisposable <|.. ObservableValidationBase~T1,T2~
class IPropertyValidationComponent {
<>
}
IPropertyValidationComponent <|.. ObservableValidationBase~T1,T2~
class IValidationComponent {
<>
}
IValidationComponent <|.. ObservableValidationBase~T1,T2~
class IValidatesProperties {
<>
}
IValidatesProperties <|.. ObservableValidationBase~T1,T2~
Inherits from: ReactiveObject
Implements: IDisposable, IPropertyValidationComponent, IValidationComponent, IValidatesProperties
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ObservableValidationBase](# class. |
Properties¶
| Name | Summary |
|---|---|
| PropertyCount | Gets the total number of properties referenced. |
| Properties | Gets the properties associated with this validation component. |
| Text | Gets the current (optional) validation message. |
| IsValid | Gets a value indicating whether the validation is currently valid or not. |
| ValidationStatusChange | Gets the observable for validation state changes. |
Methods¶
| Name | Summary |
|---|---|
| Dispose | |
| ContainsPropertyName | Determine if a property name is actually contained within this. |
| AddProperty | Adds a property to the list of this which this validation is associated with. |
Inherited members
ReactiveUI.ReactiveObject.#ctorReactiveUI.ReactiveObject.SuppressChangeNotificationsReactiveUI.ReactiveObject.AreChangeNotificationsEnabledReactiveUI.ReactiveObject.DelayChangeNotificationsReactiveUI.ReactiveObject.ChangingReactiveUI.ReactiveObject.ChangedReactiveUI.ReactiveObject.ThrownExceptionsReactiveUI.ReactiveObject.PropertyChangingReactiveUI.ReactiveObject.PropertyChangedSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString